 <%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@taglib uri="/WEB-INF/tld/struts-bean.tld" prefix="bean" %>
<%@taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html" %>
<%@taglib uri="/WEB-INF/tld/struts-logic.tld" prefix="logic" %>


		<div id="banner">&nbsp;</div>
		<div id="content">  
			<div class="post">
				<h2 class="title" >Select</h2> 
				<div class="entry">
					<p> 
					   <logic:notEmpty name="InputForm" property="countryId">
					   	<logic:notEqual name="InputForm" property="countryId" value="0">
					   		 Ultima country selezionata <bean:write name="InputForm" property="selectedCountryName"></bean:write>
					   	</logic:notEqual>
					   </logic:notEmpty>
					
					   <html:form action="/InputAction" >
					            <table>
					                <tr>
					                    <td>
					                        Select Country :
					                    </td>
					                    <td>
					                        <html:select property="countryId" >
					                            <html:option value="0">Select Country</html:option>
					                            <html:optionsCollection name="InputForm" 
					                            						property="countryList" 
					                            						label="countryName" 
					                            						value="countryId" />
					                        </html:select>
					                    </td>
					                </tr>
					                <tr>
					                    <td>
					                        Select State :
					                    </td>
					                    <td>
					                        <html:select property="stateId" >
					                            <html:option value="0">Select State</html:option>
					                            <html:optionsCollection name="InputForm" 
					                            						property="stateList" 
					                            						label="label" 
					                            						value="value" />
					                        </html:select>
					                    </td>
					                </tr>
					                <tr>
					                    <td colspan="2" align="center">
					                        <html:submit property="method" value="save" />
					                    </td>
					                </tr>
					            </table>
					        </html:form>
					</p>
				</div>
			</div>
		</div>
		<!-- end #content -->
